package com.dimong.www.loan.ui.base;

import android.widget.RelativeLayout;

import com.dimong.www.loan.widget.LoanRefreshView;

/**
 * Created by wuligang on 2018/5/14.
 */

public interface LoanRefreshInterface {
    /**
     * 菜单所要添加到位置
     *
     * @return View
     */
    RelativeLayout getContainView();

    void showRefreshLoading(boolean hasBg);

    /**
     * 背景图白色打底，显示加载中
     */
    void showRefreshLoading();


    /**
     * 背景图白色打底，加载成功
     */
    void showRefreshSuccess();

    /**
     * 背景图白色打底，加载失败
     */
    void showRefreshError();

    /**
     * 无数据
     */
    void showNoData();

    /**
     * 无数据
     */
    void showNoData(String msg);

    void setLoanReloadClick(LoanRefreshView.LoanReloadClick loanReloadClick);
}
